package com.example.demo.Gmail.controller;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("rabbit")
public class RabbitController {
   /* @Autowired
    Sender sender;*/

    @RequestMapping("test")
    public String rabbit(@RequestParam String message){

       // sender.send(message);

        return message;
    }

}
